﻿using ProjectCore.Application.AppUser.Dto;
using ProjectCore.Common;
using ProjectCore.Domain.Model.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProjectCore.Application
{
    public interface IAppProductType
    {
        //商品分类显示
        Task<HeaderResult<List<PproductType>>> GetProductTypes(int Pid, int State, string Name, int pageIndex, int pageSize);

        //逻辑删除
        Task<int> IsDel(int Id);

        //反填
        Task<ProductType> GetProductType(int Id);

        //修改
        Task<int> Upt(ProductType productType);
    }
}
